import request from '@/utils/request'

export function getMatUserList(query) {
    return request({
        url: '/maintainor/user/getMatUserList',
        method: 'get',
        params: query
    })
}

export function addMatUser(data) {
    return request({
        url: '/maintainor/user/addMatUser',
        method: 'post',
        data
    })
}

export function updateMatUser(data) {
    return request({
        url: '/maintainor/user/updateMatUser',
        method: 'put',
        data
    })
}

export function deleteMatUser(id) {
    return request({
        url: '/maintainor/user/deleteMatUser/' + id,
        method: 'delete'
    })
}
